interface IKun {
    name: string
    age: number
    slogan: string

    playBasketball: () => void

}

interface IRun {
    running: () => void
}

const ikun: IKun = {
    name: "baki",
    age: 19,
    slogan: "111",
    playBasketball: function () { }

}

// 作用：接口被类实现
class Person implements IKun, IRun {
    name: string
    age: number
    slogan: string
    playBasketball() { }
    running(){}
}

const ikun3 = new Person()

export { }